const mongoose = require('mongoose')    //引入Mongoose
const Schema = mongoose.Schema          //声明Schema
let ObjectId = Schema.Types.ObjectId    //声明Object类型
const configSchema = new Schema({
    topLogo:String,
    bottomLogo:String,
    title:String,
    description:String,
    ico:String,
    menu:Schema.Types.Mixed,
    carousel:Array,
    qrcode:Schema.Types.Mixed,
    ad:Array,
    copyright:String,
    beian:Schema.Types.Mixed
})
mongoose.model('Siteconfig',configSchema)